$().ready(function() {
	$('#form').validate({
	    rules: { 
	    	bankName: {
	    		required:true,
	        },
	        cardCode:{
	        	required:true,
	        	digits:true
	        }
	    },
	    messages: {
	    	bankName: {
	    		required:"这是必填字段",
	        },
	        cardCode:{
	        	required:"请输入银行卡号",
	        	digits:"请输入正确的银行卡号"
	        }
	    }
	});
});